package com.edu;

import org.springframework.boot.*;
import org.springframework.boot.autoconfigure.*;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

import java.io.InputStream;
import java.util.Properties;


@SpringBootApplication
public class Application{

    public static void main(String[] args) throws Exception {

//        Properties properties = new Properties();
//
//        InputStream in = Application.class.getClassLoader().getResourceAsStream("application.properties");
//        properties.load(in);
//        SpringApplication app = new SpringApplication(Application.class);
//        app.setDefaultProperties(properties);
//        app.run(args);
        SpringApplication.run(Application.class,args);

    }

}